<script src="http://<cms::var type="global" name="imgserver">/js/CsmInPlaceEditor.js" type="text/javascript"></script>
<script src="http://<cms::var type="global" name="imgserver">/js/Profile.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://<cms::var type="global" name="imgserver">/css/styles.profile.css" type="text/css" >
<script type="text/javascript">
var Profile = new Profile(<cms::var type="profile" name="userId">);
</script>
<div id="profile">
    <div id="profileNav">
        <a href="/profiles/<cms::var type="profile" name="linkhandle">"><cms::var type="profile" name="handle"> &#187;</a>
        <a href="/profiles/<cms::var type="profile" name="linkhandle">/topics">Conversations</a>
        <a href="/profiles/<cms::var type="profile" name="linkhandle">/messages">Send Note</a>
        <A href="/profiles/<cms::var type="profile" name="linkhandle">/answers">Answers</a>
        <a href="/profiles/<cms::var type="profile" name="linkhandle">/photos">Photos</a>
        <a href="/profiles/<cms::var type="profile" name="linkhandle">/tags">Tags</a>
        <a href="/profiles/<cms::var type="profile" name="linkhandle">/inventory">Toy Box<sup style="color: #FFFF99;font-size: 10px;">&nbsp;new</sup></a>
    </div>

	<div class="left">
		<h1><cms::var type="profile" name="handle">'s Photos</h1>

			<cms::fancylist over="photothemes">
			<a name="<cms::var type="content" name="id">"></a>
        	<div class="content" id="qow<cms::var type="content" name="id">">
           		<div class="pad5">
           	 		<div class="contenttext">
                		<div class="pad5">
                            <P><B><cms::var type="contest" name="description"></B></p>
							<div class="photo">
								<img <cms::if type="content" name="itson">class="activephoto"</cms::if> src="http://<cms::var type="global" name="imgserver">/photos/<cms::ifnot type="content" name="itson">photoContest/<cms::var type="content" name="contestId"></cms::ifnot><cms::if type="content" name="itson"><cms::var type="content" name="userId"></cms::if>/large/<cms::var type="content" name="photoId">.jpg" style="margin-bottom: 10px;">
							</div>
                            <P>Theme: <a href="/weekly/photo/index.pl/winners?id=<cms::var type="contest" name="id">"><cms::var type="contest" name="name"></a></p>

							<div class="postinfo">
							<a href="#<cms::var type="content" name="id">">Permalink</a>
							</div>
						</div>
					</div>
				<cms::if type="page" name="myprofile">
                	<div class="contentstats">
						<cms::var type="content" name="blingups"> <cms::wc type="content" name="blingups" s="up" p="ups"> /
						<cms::var type="content" name="blingdowns"> <cms::wc type="content" name="blingdowns" s="down" p="downs">
					</div>
				</cms::if>
				</div>
			</div>
			</cms::fancylist>


	</div>

	<div class="right">


    <div class="profilephoto">
            <div id="thumbs">
                Do You Like <cms::var type="profile" name="handle">?<Br />

                        <cms::if type="profile" name="status" equals="-1" nest>
                        It doesn't matter right now, they're in timeout!
                        </cms::if type="profile" name="status">
                        <cms::if type="profile" name="status" equals="0" nest>
                        It doesn't matter right now, they're on vacation!  When they come back, you can vote for them again.
                        </cms::if type="profile" name="status">
                        <cms::if type="profile" name="status" equals="1" nest>
                        <a href="#" title="thumbs up!" onClick="return Profile.thumb('U');"><img src="http://<cms::var type="global" name="imgserver">/img/up<cms::if type="profile" name="thumb" equals="U" nest>-on</cms::if type="profile" name="thumb">.gif" border=0 align="absmiddle" width=50 alt="thumbs up" id="thumbup"></a>&nbsp;<a href="#" title="thumbs down!" onClick="return Profile.thumb('D');"><img src="http://<cms::var type="global" name="imgserver">/img/down<cms::if type="profile" name="thumb" equals="D" nest>-on</cms::if type="profile" name="thumb">.gif" border=0 align="absmiddle" width=50 id="thumbdown"></a>
                        </cms::if type="profile" name="status">
            </div>
                <div id="mediaArea">
					<img id="mainphoto" src="http://<cms::var type="global" name="imgserver">/photos/<cms::var type="profile" name="userId">/large/<cms::var type="profile" name="photoId">.jpg"> 
				 </div>
		</div>
		<br />
		<div id="meta">

  				<div id="about"> 
                <B><cms::var type="profile" name="handle"></b> is a <cms::var type="profile" name="age">-year old <cms::if type="profile" name="sex" equals="M">guy</cms::if><cms::if type="profile" name="sex" equals="F">girl</cms::if> in <cms::var type="profile" name="city"><cms::if type="profile" name="country" equals="US">, <cms::var type="profile" name="state"></cms::if><cms::ifnot type="profile" name="country" equals="US">, <cms::var type="profile" name="country"></cms::ifnot>.                <cms::var type="profile" name="cpronoun"> was last active on <cms::var type="profile" name="lastActive" date>.                <cms::var type="profile" name="cpronoun"> is
                <cms::if type="profile" name="relationshipStatus" equals="1">single.</cms::if>
                <cms::if type="profile" name="relationshipStatus" equals="2">in an <i>open</i> relationship.</cms::if>
                <cms::if type="profile" name="relationshipStatus" equals="3">in a relationship.</cms::if>           
				 </div>

		</div>


	</div>
</div>
<script>
<cms::fancylist over="itemBehaviors">
Profile.setBehavior(<cms::var type="item" name="id">,'<cms::var type="item" name="behavior">');
</cms::fancylist>
</script>
